package com.mxpio.erp.common.enums;

public interface NoticeStatusEnums {

	/**
	 * 通知单状态
	 *
	 */
	enum NoticeStatus {
		DRAFT("0", "草稿"), CREATE("10", "开立"), CONFIRM("20", "已确认"),
		REJECT("99", "已拒绝");//20221009 wpp新增 DRAFT项，解决资产模块由通知单手动新增，需要提交操作的需求，新增默认为草稿，提交操作后变为开立状态

		NoticeStatus(String statusCode, String statusName) {
			this.statusCode = statusCode;
			this.statusName = statusName;
		}

		private String statusCode;

		private String statusName;

		public String getStatusCode() {
			return statusCode;
		}

		public void setStatusCode(String statusCode) {
			this.statusCode = statusCode;
		}

		public String getStatusName() {
			return statusName;
		}

		public void setStatusName(String statusName) {
			this.statusName = statusName;
		}
	}
	
	/**
	 * 通知单类型
	 *
	 */
	enum NoticeType {
		INIT_IN("00", "初始入库"),
		PO_IN("10", "材料入库"),
		MO_M_IN("15", "生产退料"),
		SO_OUT("20", "销售出库"),
		MO_IN("30", "生产入库"),
		SO_IN("35", "销售退货"),
		PO_OUT("40", "采购退货"),
		MO_M_OUT("41", "生产领料"),
		MO_M_REOUT("42", "生产补料"),
		AO_IN("60", "调整入库"),
		TO_IN("70", "调拨入库"),
		RO_IN("80", "红冲入库"),
		TO_OUT("90", "调拨出库"),
		AO_OUT("100", "调整出库"),
		RO_OUT("110", "红冲出库");

		NoticeType(String code, String name) {
			this.code = code;
			this.name = name;
		}

		private String code;

		private String name;

		public String getCode() {
			return code;
		}

		public void setCode(String code) {
			this.code = code;
		}

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}
	}
}
